import argparse 


def init_parse(): 
    parse = argparse.ArgumentParser()
    parse.add_argument('script', choices=['create', 'alter', 'find'], type=str,
                       help='这里有3个脚本，需要选择要执行的脚步')

    args = parse.parse_args()
    
    return args 


def main(): 
    args = init_parse()
    script_name = args.script 
    if script_name == 'create': 
        import src.create_file as script 
    elif script_name == 'alter': 
        import src.alter_file_name as script 
    else : 
        import src.find_file as script 

    script.main()


if __name__ == '__main__': 
    main()

    
